package com.happy.manage.mapper;

import java.util.List;
import com.happy.manage.domain.Follows;

/**
 * 关注Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public interface FollowsMapper 
{
    /**
     * 查询关注
     * 
     * @param followId 关注主键
     * @return 关注
     */
    public Follows selectFollowsByFollowId(Long followId);

    /**
     * 查询关注列表
     * 
     * @param follows 关注
     * @return 关注集合
     */
    public List<Follows> selectFollowsList(Follows follows);

    /**
     * 新增关注
     * 
     * @param follows 关注
     * @return 结果
     */
    public int insertFollows(Follows follows);

    /**
     * 修改关注
     * 
     * @param follows 关注
     * @return 结果
     */
    public int updateFollows(Follows follows);

    /**
     * 删除关注
     * 
     * @param followId 关注主键
     * @return 结果
     */
    public int deleteFollowsByFollowId(Long followId);

    /**
     * 批量删除关注
     * 
     * @param followIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFollowsByFollowIds(Long[] followIds);
}
